import axios from 'axios'

let axiosInstance = axios.create({
  baseURL: 'http://localhost:808/',
  timeout: 1000*5
});

axiosInstance.interceptors.response.use(res=>{
  return res.data;
},error => {
  throw error;
})

export default axiosInstance
